<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>商户管理</title>
    <#include "/include/resource.html"/>
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
    <#include "/include/header.html"/>
    <!-- Left side column. contains the logo and sidebar -->
    <#include "/include/main-sidebar.html"/>
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h1>
                商户列表
                <small>商户信息</small>
            </h1>
            <ol class="breadcrumb">
                <li><i class="fa fa-dashboard"></i> 商户列表</li>
                <li class="active">商户信息</li>
            </ol>
        </section>

        <!-- Main content -->
        <form id="tableForm" method="post" class="form-horizontal" action="${base}/admin/admin_merchant/list">
            <section class="content">
                <div class="row">
                    <div class="col-md-12">
                        <div class="box">
                            <div class="box-header with-border">
                                <h3 class="box-title">商户列表</h3>
                            </div>
                            <!-- /.box-header -->
                            <div class="box-body">
                                <div class="form-group">
                                    <div class="row">
                                        <div class="col-md-3">
                                            <label for="inputEmail3" class="col-md-4 control-label">商户Name：</label>
                                            <div class="col-md-8">
                                                <input type="text" class="form-control" value="${(merchantName)!''}" name="merchantName" id="inputEmail3" placeholder="商户Name">
                                            </div>
                                        </div>
                                        <div class="col-md-9">
                                            <button type="button" onclick="HF.query('tableForm');" class="btn btn-primary">Query</button>
                                        </div>
                                    </div>
                                </div>
                                <table class="table table-bordered">
                                    <tr>
                                        <th>SequenceNo</th>
                                        <th>商户Name</th>
                                        <th>商户姓名</th>
                                        <th>联系方式</th>
                                        <th>许可证号码</th>
                                        <th>商户身份证号</th>
                                        <th>商户地址</th>
                                        <th>商户详细地址</th>
                                    </tr>
                                    <#if list??&&list?size gt 0>
                                        <#list list as t>
                                            <tr>
                                                <td>${t_index+1}</td>
                                                <td>${(t.shopName)!"--"}</td>
                                                <td>${(t.name)!"--"}</td>
                                                <td>${(t.phone)!""}</td>
                                                <td>${(t.certificateNo)!"--"}</td>
                                                <td>${(t.idCardNo)!"--"}</td>
                                                <td>${(t.address)!"--"}</td>
                                                <td>${(t.addressExt)!"--"}</td>
                                            </tr>
                                        </#list>
                                    </#if>
                                </table>
                            </div>
                            <!-- /.box-body -->
                            <@p.pager pageNo=pageNo pageSize=pageSize totalCount=totalCount />
                        </div>
                        <!-- /.box -->
                    </div>
                </div>
            </section>
        </form>
        <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->
    <footer class="main-footer">
        <div class="pull-right hidden-xs">
            <b>Version</b> 2.4.0
        </div>
        <strong>Copyright &copy; 2014-2016 <a href="https://adminlte.io">Almsaeed Studio</a>.</strong> All rights
        reserved.
    </footer>
    <div class="control-sidebar-bg"></div>
</div>
<#include "/include/js_footer.html"/>
</body>
</html>
